<div id="rightColp1">
<div id="mainPageSidebar">
	<div class="sidebarWidget" style="display:none;">广告位</div>		
	<div class="widget">		
		<h3 class="sidebarWidget widgetbgTitle">最新文章</h3>
		{php $articles = get_latest_article();}
		<ul>{loop $articles $article}
		<li><a href="{url article.php?id=$article[aid]}" title="{$article['title']}" target="_blank">{$article['title']}</a></li>
		{/loop}</ul>
	</div>
	<div class="widget sidebarWidget">
		<h3 class="widgetbgTitle">热门文章</h3>
		{php $articles = get_hot_article();}
		<ul>{loop $articles $article}
		<li><a href="{url article.php?id=$article[aid]}" title="{$article['title']}" target="_blank">{$article['title']}</a></li>
		{/loop}</ul>
	</div>
	<div class="widget sidebarWidget">
		<h3 class="widgetbgTitle">用户评论</h3>
		{php $lcs = get_latest_comment();}
		<ul class="lastest_comment">{loop $lcs $lc}
		<li>{$lc['username']} 评价 <a href="{url article.php?id=$lc[referid]}" title="{$lc['title']}" target="_blank">{$lc['title']}</a>：{$lc['content']}</li>
		{/loop}</ul>
	</div>
	<div class="widget sidebarWidget"><div class="textwidget" style="display:none;">广告位</div>
	</div>
</div>
</div>